class persom:
    def __init__(self,name,job=None,pay=10):
        self.name = name
        self.job = job
        self.pay = pay
    def lastname(self):
        return self.name.split()[-1]
    def give(self,percent):
        self.pay = int(self.pay * (1 + percent))

if __name__ == '__main__':

    a = persom('djy zcl')
    print("{0} {1}".format(a.pay,a.name))
    print(a.lastname())
    a.give(10)
    print(a.pay)